import 'package:flutter_axrjc/datasource/network/bean/LightBean.dart';
import 'package:get/get.dart';

class MainHomeState {
  Rx<LightBean?> currentLampBean = Rx<LightBean?>(null);
  var device = "".obs;
  Rx<CheckStatusType> checkStatus = (CheckStatusType.before).obs;
  var detectionAverageValue = "0".obs;
  var currentLux = "0".obs;
  // var currentTemp = "0".obs;
  Rx<DateTime> startTime = DateTime.now().obs;
  Rx<DateTime> endTime = DateTime.now().obs;
  double max = 0;
  double min = 0;
  var countdown = ''.obs;
  var isFront = false.obs;
}

enum CheckStatusType { before, checking, pause, end }
